﻿<Window x:Class="QSWPFApplicationCSharp.MultiLanguageWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:ValidationFrameworkWPF="clr-namespace:ValidationFramework.WPF;assembly=ValidationFramework.WPF"
    Title="MultiLanguageWindow" Height="278" Width="526" ResizeMode="NoResize">
	<Grid>
		<TextBlock Height="21" Margin="22,43,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="60">Address</TextBlock>
		<TextBlock Height="21" Margin="22,74,0,0" Width="60" VerticalAlignment="Top" HorizontalAlignment="Left">Language</TextBlock>
		<TextBox Height="23" HorizontalAlignment="Left" Margin="85,41,0,0" VerticalAlignment="Top" Width="120" >
			<Binding Path="Address"/>
		</TextBox>
		<TextBox Height="23" HorizontalAlignment="Left" Margin="85,72,0,0" VerticalAlignment="Top" Width="120"  >
			<Binding Path="LicenceNumber"/>
		</TextBox>
		<TextBlock Height="21" Margin="10,10,61,0" VerticalAlignment="Top">Note: control texts are not localised as it is not what is being illustrated here.</TextBlock>
		<TextBlock Height="21" Margin="238,43,285,0" VerticalAlignment="Top">Culture</TextBlock>
		<ListBox Margin="0,43,124,0" Name="cultureListBox" Height="70" VerticalAlignment="Top" SelectionChanged="cultureListBox_SelectionChanged" HorizontalAlignment="Right" Width="147">
			<ListBoxItem>fr-CA</ListBoxItem>
			<ListBoxItem>zh-TW</ListBoxItem>
			<ListBoxItem>en-AU</ListBoxItem>
			<ListBoxItem>en-US</ListBoxItem>
		</ListBox>
		<Button HorizontalAlignment="Right" Margin="0,89.36,32,0" Name="validateButton" Width="75" Height="23" VerticalAlignment="Top" Click="validateButton_Click">Validate</Button>
		<TreeView Height="90" Margin="22,0,32,19" Name="errorTreeView" VerticalAlignment="Bottom"/>
	</Grid>
</Window>
